package com.example.common.util.annotation;

import org.springframework.cloud.openfeign.EnableFeignClients;

import java.lang.annotation.*;

/**
 * @Author juzipi
 * @Date 2021/7/8 8:20
 * @Info
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableFeignClients
public @interface CustomEnableFeignClients {

    String[] value() default {};

    String[] basePackages() default { "com.example.client" };

    Class<?>[] basePackageClasses() default {};

    Class<?>[] defaultConfiguration() default {};

    Class<?>[] clients() default {};

}
